/*
 * Leds.h
 *
 *  Created on: Jun 8, 2010
 *      Author: iandrono
 */

#ifndef LEDS_H_
#define LEDS_H_

	#include "../defines.h"

	typedef enum{UP=1, DOWN=-1} imageWayType;

	//Buffer de memoria de video
	volatile imageType videoMemory;
	volatile int videoMemoryIndex;
	volatile imageWayType videoMemoryStep;

	void initLeds( void );
	void updateLeds( void );
	void resetVideoMemory( imageType * newImage );
	void startSequence( void );

#endif /* LEDS_H_ */
